package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the per_cwa_q_lae database table.
 * 
 */
@Entity
@Table(name="per_cwa_q_lae")
@NamedQuery(name="PerCwaQLae.findAll", query="SELECT p FROM PerCwaQLae p")
public class PerCwaQLae implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int laeid;

	private Timestamp laemaxtime;

	private Timestamp laemintime;

	private String laerem;

	//bi-directional many-to-one association to PerCwaCwas
	@ManyToOne
	@JoinColumn(name="CWASID")
	private PerCwaCwas perCwaCwa;

	//bi-directional many-to-one association to PerCwaQType
	@ManyToOne
	@JoinColumn(name="TYPEID")
	private PerCwaQType perCwaQType;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	public PerCwaQLae() {
	}

	public int getLaeid() {
		return this.laeid;
	}

	public void setLaeid(int laeid) {
		this.laeid = laeid;
	}

	public Timestamp getLaemaxtime() {
		return this.laemaxtime;
	}

	public void setLaemaxtime(Timestamp laemaxtime) {
		this.laemaxtime = laemaxtime;
	}

	public Timestamp getLaemintime() {
		return this.laemintime;
	}

	public void setLaemintime(Timestamp laemintime) {
		this.laemintime = laemintime;
	}

	public String getLaerem() {
		return this.laerem;
	}

	public void setLaerem(String laerem) {
		this.laerem = laerem;
	}

	public PerCwaCwas getPerCwaCwa() {
		return this.perCwaCwa;
	}

	public void setPerCwaCwa(PerCwaCwas perCwaCwa) {
		this.perCwaCwa = perCwaCwa;
	}

	public PerCwaQType getPerCwaQType() {
		return this.perCwaQType;
	}

	public void setPerCwaQType(PerCwaQType perCwaQType) {
		this.perCwaQType = perCwaQType;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

}